package cn.ai.boot.config;

import java.math.BigDecimal;
import java.util.Set;

/**
 * @author jie.zhao@dms365.com
 * @Date 2025/7/4 11:45
 */
public class Tes9999 {

    public static void main(String[] args) {

        Set<String> targetTypes = Set.of(
                "FLANGE", "FLANGE-BLIND", "VALVE", "TRAP"
        );
        Set<String> notTargetTypes = Set.of(
                "FLANGE", "FLANGE-BLIND", "VALVE", "TRAP", "SUPPORT", "BOLT", "GASKET"
        );
        String pcmType = "GASKET1";
        boolean isTargetType = targetTypes.contains(pcmType);
        boolean isNotTargetType = notTargetTypes.contains(pcmType);
        if (isTargetType || !isNotTargetType) {
            if (isTargetType) {
                System.out.println("法兰材料");
            }
            if (!isNotTargetType) { // 基本材料
                System.out.println("基本材料");
            }
        }

    }

}
